import { configureStore,combineReducers  } from "@reduxjs/toolkit"
import userReducer from "./moduls/user"
import gloableReducer from "./moduls/gloable"
// 多个仓库进行合并
const rootReducer = combineReducers({
  user: userReducer,
  gloable:gloableReducer
})

const store = configureStore({
  reducer:rootReducer
})
export default store